package com.easy.dev.controller;

import com.easy.dev.entity.User;
import com.easy.dev.service.impl.BaseServiceImpl;
import com.easy.dev.service.impl.UserServiceImpl;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;

@Api(tags="User操作接口")
@RestController
@RequestMapping("/user")
public class UserController extends BaseController<User> {

    @Autowired
    private UserServiceImpl userService;

    @Override
    BaseServiceImpl getService() {
        return this.userService;
    }
}